package com.omni.monitor;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Omni Monitor 应用程序入口类
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) // 排除数据源自动配置
@EnableAsync
@EnableScheduling
//@MapperScan("com.omni.monitor.plugin.fire_wall.mapper")
public class OmniMonitorApplication {

    public static void main(String[] args) {
        SpringApplication.run(OmniMonitorApplication.class, args);
//        System.out.println("");
//        System.out.println("🔥 ========================================== 🔥");
//        System.out.println("🔥  Spring Boot API 防火墙启动成功！        🔥");
//        System.out.println("🔥  管理控制台: http://localhost:8080       🔥");
//        System.out.println("🔥  H2数据库控制台: http://localhost:8080/h2-console 🔥");
//        System.out.println("🔥 ========================================== 🔥");
//        System.out.println("");
    }

}
    